/* 
 * File:   common_Mutex.h
 * Author: agu
 *
 * Created on 15 de mayo de 2014, 16:00
 */

#ifndef COMMON_MUTEX_H
#define	COMMON_MUTEX_H
 #include <pthread.h>

class Mutex {
public:
    Mutex();
    virtual ~Mutex();
    void lock();
    void unlock();
    
private:
    pthread_mutex_t mutex;
};

#endif	/* COMMON_MUTEX_H */

